const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    https: false,
    hot: true,
    // open: true,
    proxy: {
      '/api': {
        target: 'http://ihrm.itheima.net',
        changeOrigin: true,
       pathRewrite:{
        '^/api':'/api'
       }
      }
    }
  }
})
